package net.sourceforge.peers.sip.syntaxencoding;

import org.testng.annotations.Test;

public class SipHeaderFieldValueTestNG {

    @Test
    public void testSetValue() {
        SipHeaderFieldValue value = new SipHeaderFieldValue("<sip:104@124.223.170.227>;tag=OkeI0PCn");
        System.out.println(value.getValue());
        String tag = value.getParam(new SipHeaderParamName("tag"));
        System.out.println(tag);
    }

    @Test
    public void t1()
    {
        String format = String.format("=======%5d=========", 22);
        System.out.println(format);

    }

}
